package com.aicoq.example.stock.persist.model;

import java.io.Serializable;
import java.math.BigDecimal;

public class StockDayInfo extends StockDayInfoKey implements Serializable {
    private String code;

    private String name;

    private String trade;

    private BigDecimal priceChange;

    private BigDecimal changePercent;

    private String buy;

    private String sell;

    private String settlement;

    private String open;

    private String high;

    private String low;

    private Long volume;

    private Long amount;

    private String tickTime;

    private BigDecimal per;

    private BigDecimal pb;

    private BigDecimal mktCap;

    private BigDecimal nmc;

    private BigDecimal turnoverRatio;

    private static final long serialVersionUID = 1L;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTrade() {
        return trade;
    }

    public void setTrade(String trade) {
        this.trade = trade == null ? null : trade.trim();
    }

    public BigDecimal getPriceChange() {
        return priceChange;
    }

    public void setPriceChange(BigDecimal priceChange) {
        this.priceChange = priceChange;
    }

    public BigDecimal getChangePercent() {
        return changePercent;
    }

    public void setChangePercent(BigDecimal changePercent) {
        this.changePercent = changePercent;
    }

    public String getBuy() {
        return buy;
    }

    public void setBuy(String buy) {
        this.buy = buy == null ? null : buy.trim();
    }

    public String getSell() {
        return sell;
    }

    public void setSell(String sell) {
        this.sell = sell == null ? null : sell.trim();
    }

    public String getSettlement() {
        return settlement;
    }

    public void setSettlement(String settlement) {
        this.settlement = settlement == null ? null : settlement.trim();
    }

    public String getOpen() {
        return open;
    }

    public void setOpen(String open) {
        this.open = open == null ? null : open.trim();
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high == null ? null : high.trim();
    }

    public String getLow() {
        return low;
    }

    public void setLow(String low) {
        this.low = low == null ? null : low.trim();
    }

    public Long getVolume() {
        return volume;
    }

    public void setVolume(Long volume) {
        this.volume = volume;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public String getTickTime() {
        return tickTime;
    }

    public void setTickTime(String tickTime) {
        this.tickTime = tickTime == null ? null : tickTime.trim();
    }

    public BigDecimal getPer() {
        return per;
    }

    public void setPer(BigDecimal per) {
        this.per = per;
    }

    public BigDecimal getPb() {
        return pb;
    }

    public void setPb(BigDecimal pb) {
        this.pb = pb;
    }

    public BigDecimal getMktCap() {
        return mktCap;
    }

    public void setMktCap(BigDecimal mktCap) {
        this.mktCap = mktCap;
    }

    public BigDecimal getNmc() {
        return nmc;
    }

    public void setNmc(BigDecimal nmc) {
        this.nmc = nmc;
    }

    public BigDecimal getTurnoverRatio() {
        return turnoverRatio;
    }

    public void setTurnoverRatio(BigDecimal turnoverRatio) {
        this.turnoverRatio = turnoverRatio;
    }
}